page-main {
  .tab{
    padding: 10px;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    color: #888888;
    // 上层
    &>div:first-of-type{
      display: flex;
      flex-direction: row;

      &>div{
        flex: 1;
        &>div{
          background-color: #cc0000;
          height: 85px;
        }
      }
      // 上层左
      &>div:first-of-type{
        &>div:first-of-type{
          margin-bottom: 10px;
          position: relative;
          .badge{
            position: absolute;
            background: #cc0000;
            color: #fff;
            padding: 1px 4px;
            border-radius: 7px;
            font-size: 12px;
            right: -6px;
            top: -4px;
          }
        }
        div{
          background: #ffe6e6;
          display: flex;
          flex-direction: column;
          text-align: right;
          padding: 10px;
        }
      }
      // 上层右
      &>div:last-of-type{
        display: flex;
        flex-direction: row;
        &>div{
          height: 180px;
          flex: 1;
          margin-left: 10px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: flex-start;
          padding: 10px 0;
          span{
            margin-bottom: 100px;
          }
        }
        &>div:first-of-type{
          background: #e9ffd7;
        }
        &>div:last-of-type{
          background: #dae8fe;
        }
      }
    }
    // 下层
    &>div:last-of-type{
      display: flex;
      flex-direction: column;
      &>div{
        background-color: #ffe6e6;
        margin-top: 10px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: right;
        padding: 0 10px;
        p{
          text-align: right;
          width: calc(100% - 45px);
        }
      }
    }
    .spirt{
      display: inline-block;
      width: 45px;
      height: 45px;
      background-image: url("../assets/imgs/sprite.png");
      background-size: 42px auto;
      background-repeat: no-repeat;
    }
    .xiti{
      background-position: 0 0;
    }
    .ziyuan{
      background-position: 0 -42px;
    }
    .qiandao{
      background-position: 0 -220px;
    }
    .quanbu{
      background-position: 0 -178px;
    }
    .jiaru{
      background-position: 0 -88px;
    }
    .xiaoxi{
      background-position: 0 -134px;
    }
  }
  .list{
    &>p{
      padding: 0 5px;
      margin: 0 10px;
      border-left: 3px solid #cc0000;
    }
    ul{
      list-style: none;
      padding: 0;
      li{
        display: flex;
        flex-direction: row;
        margin: 0 10px;
        color: #fff;
        &.bg-1{
          background: #e04c73;
        }
        &.bg-2{
          background: #6bb82d;
        }
        &.bg-3{
          background: #4f59df;
        }
        &>div{
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: flex-start;
          padding: 10px;
          &.course-info{
            flex: 3;
            p{
              font-size: 14px;
            }
            p:first-of-type{
              font-size: 18px;
              margin-bottom: 5px;
            }
            p:last-of-type{
              font-size: 16px;
              margin-top: 5px;
            }
          }
          &.course-code{
            flex: 2;
            display: flex;
            flex-direction: row;
            align-items: center;
            span{
              font-size: 18px;
            }
            ion-icon{
              font-size: 42px;
              margin-left: 10px;
            }
          }
          p{
            margin: 0;
          }
        }
      }
    }
  }
}
.continue{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: row;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #ccc;
  justify-content: center;
  align-items: center;
  div{
    flex: 3;
  }
  p{
    margin: 0;
    &:first-of-type{
      color: #333333;
      font-size: 18px;
    }
  }
  button{
    flex: 2;
    background: #cc0000;
    color: #fff;
    border: 1px solid #cc0000;
    border-radius: 10px;
    padding: 10px;
  }
}
